.recommend-content {
  /*padding: 16px;*/
}

.language-tabs {
  margin-bottom: 20px;
}

.courses-container {
  margin-bottom: 30px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.course-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
}

.favorite-icon {
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 8px;
}

.favorite-icon:hover {
  transform: scale(1.2);
}

.course-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.course-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.course-badge.beginner {
  background: #e8f5e8;
  color: #52c41a;
}

.course-badge.intermediate {
  background: #fff7e6;
  color: #fa8c16;
}

.course-badge.advanced {
  background: #fff1f0;
  color: #f5222d;
}

.course-content {
  margin-bottom: 16px;
}

.course-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #262626;
}



.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.course-steps {
  font-size: 12px;
  color: #595959;
  background: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
}

.course-tags {
  display: flex;
  gap: 4px;
}

.tag {
  font-size: 11px;
  color: #1890ff;
  background: #e6f7ff;
  padding: 2px 6px;
  border-radius: 4px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.enrollment-status {
  display: flex;
  align-items: center;
}

.enrolled-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.enrolled-status {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #07c160;
  font-size: 14px;
}

/* 按钮点击效果 */
.enroll-button,
.study-button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.enroll-button:hover,
.study-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.enroll-button:active,
.study-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

/* 点击波纹效果 */
.enroll-button::before,
.study-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.enroll-button:active::before,
.study-button:active::before {
  width: 120%;
  height: 120%;
}

/* 学习按钮特殊样式 */
.study-button {
  background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
  border: none;
  font-weight: 500;
}

.study-button:hover {
  background: linear-gradient(135deg, #40a9ff 0%, #1890ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4);
}

.progress-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-text {
  font-size: 12px;
  color: #595959;
  min-width: 32px;
}
